package com.hpf.consumer;

import com.hpf.consumer.lb.MyLb;
import com.hpf.myrule.MyRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @description:
 * @datetime: 2020/8/18 22:21
 * @author: huangpengfei
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration = MyLb.class)
public class OrderApplication80 {

    public static void main(String[] args){
        SpringApplication.run(OrderApplication80.class,args);
    }
}
